@layout("/layout/_form.html", {js:["/assets/modular/business/works/worksAdd.js","/assets/modular/business/works/liveplayer-element.min.js"]}){
<style>
	.layui-form-label{
		text-align: left;
	}
</style>
    <form class="layui-form" id="worksForm" lay-filter="worksForm">
        <div class="layui-fluid" style="padding-bottom: 75px;">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form-item layui-row">
						<input id="workId" name="workId" type="hidden"/>
						<div class="layui-inline layui-col-md12">
							<label class="layui-form-label layui-form-required">作品标题</label>
							<div class="layui-input-block">
								<input id="workTitle" name="workTitle" placeholder="请输入作品标题" type="text" class="layui-input" autocomplete="off" lay-verify="required" required/>
							</div>
						</div>
						<div class="layui-inline layui-col-md6">
                            <label class="layui-form-label layui-form-required">所属组织</label>
							<div class="layui-input-block" id="workDept">
							</div>
						</div>
						<div class="layui-inline layui-col-md6">
							<label class="layui-form-label layui-form-required">作品排序</label>
							<div class="layui-input-block">
								<input id="workSort" name="workSort" placeholder="请输入作品排序" type="number" class="layui-input" autocomplete="off" lay-verify="required|number|positive" required/>
							</div>
						</div>
						<div class="layui-inline layui-col-md12">
							<label class="layui-form-label layui-form-required">作品作者</label>
							<div class="layui-input-block">
								<input id="workAuthor" name="workAuthor" placeholder="请输入作者" type="text" class="layui-input" autocomplete="off" lay-verify="required" required/>
							</div>
						</div>

						<div class="layui-inline layui-col-md12">
							<label class="layui-form-label layui-form-required">作品描述</label>
							<div class="layui-input-block">
								<input id="workDesc" name="workDesc" placeholder="请输入作品描述" type="text" class="layui-input" autocomplete="off" lay-verify="required" required/>
							</div>
						</div>
						<div class="layui-inline layui-col-md12">
							<label class="layui-form-label layui-form-required">缩略图</label>
							<div class="layui-input-block" style="display: flex">
 								<input id="workImg" name="workImg" placeholder="请输入作品缩略图" type="hidden" class="layui-input" autocomplete="off" lay-verify="required" required/>
								<button type="button" class="layui-btn" id="uploadImg">
								  <i class="layui-icon">&#xe67c;</i>上传缩略图
								</button>	
							</div>
						</div>
						<div class="layui-inline layui-col-md12">
							<label class="layui-form-label layui-form-required">演讲作品</label>
							<div class="layui-input-block" style="display: flex">
								<input id="workUrl" name="workUrl" placeholder="请输入作品位置" type="hidden" class="layui-input" autocomplete="off" lay-verify="required" required/>
								<button type="button" class="layui-btn" id="uploadVideo">
								  <i class="layui-icon">&#xe67c;</i>上传演讲作品
								</button>	
							</div>
						</div>

						<!-- <div class="layui-inline layui-col-md6">
							<label class="layui-form-label layui-form-required">投票数</label>
							<div class="layui-input-block">
								<input id="voteNum" name="voteNum" placeholder="请输入投票数" type="text" class="layui-input" autocomplete="off" lay-verify="required" required/>
							</div>
						</div> -->
                    </div>
                </div>
            </div>
        </div>
        <div class="form-group-bottom text-center">
            <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
            <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
        </div>

    </form>
@}